package com.wwwc.index.web.servlet;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.ServletRequestWrapper;
import java.security.*;
import java.io.*;
import java.net.*;

import javax.imageio.*;
import java.awt.image.*;

import com.wwwc.util.web.*;
import com.wwwc.index.web.ejb.database.*;
//import com.wwwc.index.web.database.*;
import com.wwwc.index.web.ejb.*;

public class UploadFileBean {
    private String fileDir;
    private Vector fileUrlV;
    private Vector fileNameV;
    private Vector userFileNameV;
    private String fileType;
    private String formName;
    private int totalFileAllowed;
    private int totalFileLoaded;
    private int fileSize;
    private String message;

    public void setMessage(String ms) {
	message = ms;
    }

    public String getMessage() {
	return message;
    }

    public void setFormName(String form) {
	formName = form;
    }

    public String getFormName() {
	return formName;
    }

    public void setFileDir(String fdir) {
	fileDir = fdir;
    }

    public String getFileDir() {
	return fileDir;
    }

    public void setLoadedFileUrlV(Vector furlv) {
	fileUrlV = furlv;
    }
    public Vector getLoadedFileUrlV() {
	return fileUrlV;
    }

    public void setFileType(String ftype) {
	fileType = ftype;
    }

    public String getFileType() {
	return fileType;
    }

    public void setUserFileNameV(Vector ufnamev) {
	userFileNameV = ufnamev;
    }

    public Vector getUserFileNameV() {
	return userFileNameV;
    }

    public void setLoadedFileNameV(Vector fnamev) {
	fileNameV = fnamev;
    }

    public Vector getLoadedFileNameV() {
	return fileNameV;
    }

    public void setTotalFileAllowed(int tfa) {
	totalFileAllowed = tfa;
    }

    public void setTotalFileAllowed(String tfa) {
	totalFileAllowed = Integer.parseInt(tfa);
    }

    public int getTotalFileAllowed() {
	return totalFileAllowed;
    }

    public void setTotalFileLoaded(int tfl) {
	totalFileLoaded = tfl;
    }

    public void setTotalFileLoaded(String tfl) {
	totalFileLoaded = Integer.parseInt(tfl);
    }

    public int getTotalFileLoaded() {
	return totalFileLoaded;
    }

    public void setFileSize(int fz) {
	fileSize = fz;
    }
    public void setFileSize(String fz) {
	fileSize = Integer.parseInt(fz);
    }
    public int getFileSize() {
	return fileSize;
    }
}

